package com.lanxin.hr.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-07-21
 */
@TableName("zz_department")
public class ZzDepartment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    @TableField("parentoid")
    private Integer parentoid;

    @TableField("deptName")
    private String deptName;

    @TableField("phone")
    private String phone;

    @TableField("email")
    private String email;

    @TableField("fax")
    private String fax;

    @TableField("manager")
    private Integer manager;

    @TableField("address")
    private String address;

    @TableField("zipcode")
    private String zipcode;

    @TableField("status")
    private String status;

    @TableField("description")
    private String description;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }
    public Integer getParentoid() {
        return parentoid;
    }

    public void setParentoid(Integer parentoid) {
        this.parentoid = parentoid;
    }
    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }
    public Integer getManager() {
        return manager;
    }

    public void setManager(Integer manager) {
        this.manager = manager;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "ZzDepartment{" +
            "oid=" + oid +
            ", parentoid=" + parentoid +
            ", deptName=" + deptName +
            ", phone=" + phone +
            ", email=" + email +
            ", fax=" + fax +
            ", manager=" + manager +
            ", address=" + address +
            ", zipcode=" + zipcode +
            ", status=" + status +
            ", description=" + description +
        "}";
    }
}
